using Aspire.Hosting;
using Projects;

var builder = DistributedApplication.CreateBuilder(args);

var cache = builder.AddRedis("redis");

builder.AddProject<WebApi>("webApi").WithReference(cache);

builder.AddProject<Projects.Grpc>("grpc");

builder.Build().Run();